package com.lczyfz.istep.modules.openstack.api.nova.model;

import java.util.ArrayList;
import java.util.List;

public class Host {
	/**����ID  **/
	private String host_name;
	
	private String service;
	
	private String zone;
	
	private String power_action;
	
	private String status;
	
	private String maintenance_mode;
	
	private List<Host_resource> hostinfo = new ArrayList<Host_resource>	();
	
	public List<Host_resource> ListAdd(Host_resource hostresource){
		hostinfo.add(hostresource);
		return hostinfo;
	}
	
	public List<Host_resource> getHostresource(){
		return hostinfo;
	}
	
	public String toString(){
		return  "Host [host_name=" + host_name + ", service=" + service + ", zone=" + zone +"]";
	}
	
	public String getHostName() {
		return host_name;
	}

	public void setHostName(String host_name) {
		this.host_name = host_name;
	}
	
	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}
	
	public String getZone() {
		return zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}
	
	public String getPowerAction() {
		return power_action;
	}

	public void setPowerAction(String power_action) {
		this.power_action = power_action;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMaintenance_mode() {
		return maintenance_mode;
	}

	public void setMaintenance_mode(String maintenance_mode) {
		this.maintenance_mode = maintenance_mode;
	}
}
